<template>
  <div>
     <button @click="goMy">跳转</button>
    <h1>Friend</h1>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  // eslint-disable-next-line vue/multi-word-component-names
 methods: {
    goMy(){
      this.$router.push('/my');  
    }
  }
}
</script>

<style>

</style>